<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>PHP 手册</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href=""></a></div>
 <div class="next" style="text-align: right; float: right;"><a href="copyright.html">版权信息</a></div>
 <div class="up"><a href=""></a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="index" class="set">
 <h1 class="title">PHP 手册</h1>
 




 <div class="info">
  <div class="authorgroup" id="authors">

   <div class="author vcard"><strong class="by">by</strong>:<br />
   <span class="personname fn">
     <span class="firstname given-name">Mehdi</span>  <span class="surname family-name">Achour</span>  
   </span>
   </div>

   
   <div class="author vcard">
   <span class="personname fn">
     <span class="firstname given-name">Friedhelm</span>  <span class="surname family-name">Betz</span>  
   </span>
   </div>


   <div class="author vcard">
   <span class="personname fn">
     <span class="firstname given-name">Antony</span>  <span class="surname family-name">Dovgal</span>  
   </span>
   </div>

   
   <div class="author vcard">
   <span class="personname fn">
     <span class="firstname given-name">Nuno</span>  <span class="surname family-name">Lopes</span>  
   </span>
   </div>


   <div class="author vcard">
   <span class="personname fn">
     <span class="firstname given-name">Hannes</span>  <span class="surname family-name">Magnusson</span>  
   </span>
   </div>


   <div class="author vcard">
   <span class="personname fn">
     <span class="firstname given-name">Georg</span>  <span class="surname family-name">Richter</span>  
   </span>
   </div>


   <div class="author vcard">
   <span class="personname fn">
     <span class="firstname given-name">Damien</span>  <span class="surname family-name">Seguy</span>  
   </span>
   </div>


   <div class="author vcard">
   <span class="personname fn">
     <span class="firstname given-name">Jakub</span>  <span class="surname family-name">Vrana</span>  
   </span>
   </div>


   
   <div class="othercredit">
    <span class="personname fn">
      <span class="othername">
     <a href="preface.html#contributors" class="link">其他贡献者</a>
     </span> 
    </span>
   </div>

  </div>
  <div class="pubdate">2014-01-17</div>
  
  <div class="authorgroup" id="editors">
   <div class="editor vcard"><strong class="editedby">Edited By</strong>: 
   <span class="personname fn">
     <span class="firstname given-name">Philip</span>  <span class="surname family-name">Olson</span>  
   </span>
   </div>

  </div>



  <div class="authorgroup" id="translators">
   <div class="othercredit">
    <span class="personname fn">中文翻译人员：</span>
   </div>
   <div class="othercredit"> 
    <span class="personname fn">肖盛文</span>
   </div>
    <div class="othercredit">
    <span class="personname fn">穆少磊</span>
   </div>
   <div class="othercredit">
    <span class="personname fn">宋琪</span>
   </div>
   <div class="othercredit">
    <span class="personname fn">黄啸宇</span>
   </div>
   <div class="othercredit">
    <span class="personname fn">王远之</span>
   </div>
   <div class="othercredit">
    <span class="personname fn">肖理达</span>
   </div>
   <div class="othercredit">
    <span class="personname fn">乔楚</span>
   </div>
   <div class="othercredit">
    <span class="personname fn">戴杰</span>
   </div>
  </div>

 
  <div class="copyright">&copy; 
   <span class="year">1997-2014</span>
   <span class="holder">PHP 文档组</span>
  </div>

  

 </div>
 



 

 

 

 

 

 

 

 

 

 

 

<ul class="chunklist chunklist_set"><li><a href="copyright.html">版权信息</a></li><li><a href="manual.html">PHP 手册</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="preface.html">序言</a></li></ul></li><li><a href="getting-started.html">入门指引</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="introduction.html">简介</a></li><li><a href="tutorial.html">简明教程</a></li></ul></li><li><a href="install.html">安装与配置</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="install.general.html">安装前需要考虑的事项</a></li><li><a href="install.unix.html">Unix 系统下的安装</a></li><li><a href="install.macosx.html">Mac OS X 系统下的安装</a></li><li><a href="install.windows.html">Windows 系统下的安装</a></li><li><a href="install.cloud.html">云计算平台上的安装</a></li><li><a href="install.fpm.html">FastCGI 进程管理器（FPM）</a></li><li><a href="install.pecl.html">PECL 扩展库安装</a></li><li><a href="install.problems.html">还有问题？</a></li><li><a href="configuration.html">运行时配置</a></li></ul></li><li><a href="langref.html">语言参考</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="language.basic-syntax.html">基本语法</a></li><li><a href="language.types.html">类型</a></li><li><a href="language.variables.html">变量</a></li><li><a href="language.constants.html">常量</a></li><li><a href="language.expressions.html">表达式</a></li><li><a href="language.operators.html">运算符</a></li><li><a href="language.control-structures.html">流程控制</a></li><li><a href="language.functions.html">函数</a></li><li><a href="language.oop5.html">类与对象</a></li><li><a href="language.namespaces.html">命名空间</a></li><li><a href="language.exceptions.html">异常处理</a></li><li><a href="language.generators.html">生成器</a></li><li><a href="language.references.html">引用的解释</a></li><li><a href="reserved.variables.html">预定义变量</a></li><li><a href="reserved.exceptions.html">预定义异常</a></li><li><a href="reserved.interfaces.html">预定义接口</a></li><li><a href="context.html">上下文（Context）选项和参数</a></li><li><a href="wrappers.html">支持的协议和封装协议</a></li></ul></li><li><a href="security.html">安全</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="security.intro.html">简介</a></li><li><a href="security.general.html">总则</a></li><li><a href="security.cgi-bin.html">以 CGI 模式安装时</a></li><li><a href="security.apache.html">以 Apache 模块安装时</a></li><li><a href="security.filesystem.html">文件系统安全</a></li><li><a href="security.database.html">数据库安全</a></li><li><a href="security.errors.html">错误报告</a></li><li><a href="security.globals.html">使用 Register Globals</a></li><li><a href="security.variables.html">用户提交的数据</a></li><li><a href="security.magicquotes.html">魔术引号</a></li><li><a href="security.hiding.html">隐藏 PHP</a></li><li><a href="security.current.html">保持更新</a></li></ul></li><li><a href="features.html">特点</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="features.http-auth.html">用 PHP 进行 HTTP 认证</a></li><li><a href="features.cookies.html">Cookie</a></li><li><a href="features.sessions.html">会话</a></li><li><a href="features.xforms.html">处理 XForms</a></li><li><a href="features.file-upload.html">文件上传处理</a></li><li><a href="features.remote-files.html">使用远程文件</a></li><li><a href="features.connection-handling.html">连接处理</a></li><li><a href="features.persistent-connections.html">数据库永久连接</a></li><li><a href="features.safe-mode.html">安全模式</a></li><li><a href="features.commandline.html">PHP 的命令行模式</a></li><li><a href="features.gc.html">垃圾回收机制</a></li><li><a href="features.dtrace.html">DTrace Dynamic Tracing</a></li></ul></li><li><a href="funcref.html">函数参考</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="refs.basic.php.html">影响 PHP 行为的扩展</a></li><li><a href="refs.utilspec.audio.html">音频格式操作</a></li><li><a href="refs.remote.auth.html">身份认证服务</a></li><li><a href="refs.utilspec.cmdline.html">针对命令行的扩展</a></li><li><a href="refs.compression.html">压缩与归档扩展</a></li><li><a href="refs.creditcard.html">信用卡处理</a></li><li><a href="refs.crypto.html">加密扩展</a></li><li><a href="refs.database.html">数据库扩展</a></li><li><a href="refs.calendar.html">日期与时间相关扩展</a></li><li><a href="refs.fileprocess.file.html">文件系统相关扩展</a></li><li><a href="refs.international.html">国际化与字符编码支持</a></li><li><a href="refs.utilspec.image.html">图像生成和处理</a></li><li><a href="refs.remote.mail.html">邮件相关扩展</a></li><li><a href="refs.math.html">数学扩展</a></li><li><a href="refs.utilspec.nontext.html">非文本内容的 MIME 输出</a></li><li><a href="refs.fileprocess.process.html">进程控制扩展</a></li><li><a href="refs.basic.other.html">其它基本扩展</a></li><li><a href="refs.remote.other.html">其它服务</a></li><li><a href="refs.search.html">搜索引擎扩展</a></li><li><a href="refs.utilspec.server.html">针对服务器的扩展</a></li><li><a href="refs.basic.session.html">Session 扩展</a></li><li><a href="refs.basic.text.html">文本处理</a></li><li><a href="refs.basic.vartype.html">变量与类型相关扩展</a></li><li><a href="refs.webservice.html">Web 服务</a></li><li><a href="refs.utilspec.windows.html">Windows 专用扩展</a></li><li><a href="refs.xml.html">XML 操作</a></li></ul></li><li><a href="internals2.html">PHP 核心：骇客指南</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="internals2.preface.html">序言</a></li><li><a href="internals2.memory.html">内存管理</a></li><li><a href="internals2.variables.html">变量的使用</a></li><li><a href="internals2.funcs.html">函数的编写</a></li><li><a href="internals2.objects.html">类和对象的使用</a></li><li><a href="internals2.resources.html">资源的使用</a></li><li><a href="internals2.ini.html">INI 设置的使用</a></li><li><a href="internals2.streams.html">流的使用</a></li><li><a href="internals2.counter.html">&quot;counter&quot; 扩展 - 一个连续的实例</a></li><li><a href="internals2.buildsys.html">PHP 5 构建系统</a></li><li><a href="internals2.structure.html">扩展的结构</a></li><li><a href="internals2.pdo.html">PDO 驱动</a></li><li><a href="internals2.faq.html">扩展相关 FAQ</a></li><li><a href="internals2.apiref.html">Zend Engine 2 API 参考</a></li><li><a href="internals2.opcodes.html">Zend Engine 2 操作码列表</a></li><li><a href="internals2.ze1.html">Zend Engine 1</a></li></ul></li><li><a href="faq.html">FAQ</a> — FAQ：常见问题<ul class="chunklist chunklist_set chunklist_children"><li><a href="faq.general.html">一般信息</a></li><li><a href="faq.mailinglist.html">邮件列表</a></li><li><a href="faq.obtaining.html">获取 PHP</a></li><li><a href="faq.databases.html">数据库问题</a></li><li><a href="faq.installation.html">安装</a> — 安装常见问题</li><li><a href="faq.build.html">编译问题</a></li><li><a href="faq.using.html">使用 PHP</a></li><li><a href="faq.passwords.html">Password Hashing</a> — Safe Password Hashing</li><li><a href="faq.html.html">PHP 和 HTML</a></li><li><a href="faq.com.html">PHP 和 COM</a></li><li><a href="faq.migration5.html">从 PHP 4 移植到 PHP 5</a></li><li><a href="faq.misc.html">杂类问题</a></li></ul></li><li><a href="appendices.html">附录</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="history.html">PHP 及其相关工程的历史</a></li><li><a href="migration55.html">从 PHP 5.4.x 迁移到 PHP 5.5.x</a></li><li><a href="migration54.html">从 PHP 5.3.X 迁移到 PHP 5.4.X</a></li><li><a href="migration53.html">从 PHP 5.2.x 移植到 PHP 5.3.x</a></li><li><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></li><li><a href="migration51.html">Migrating from PHP 5.0.x to PHP 5.1.x</a></li><li><a href="migration5.html">从 PHP 4 移植到 PHP 5</a></li><li><a href="oop4.html">类与对象（PHP 4）</a></li><li><a href="debugger.html">PHP 的调试</a></li><li><a href="configure.html">配置选项</a></li><li><a href="ini.html">php.ini 配置</a></li><li><a href="extensions.html">扩展库列表／归类</a></li><li><a href="aliases.html">函数别名列表</a></li><li><a href="reserved.html">保留字列表</a></li><li><a href="resource.html">资源类型列表</a></li><li><a href="filters.html">可用过滤器列表</a></li><li><a href="transports.html">所支持的套接字传输器（Socket Transports）列表</a></li><li><a href="types.comparisons.html">PHP 类型比较表</a></li><li><a href="tokens.html">解析器代号列表</a></li><li><a href="userlandnaming.html">用户空间命名指南</a></li><li><a href="about.html">关于本手册</a></li><li><a href="cc.license.html">Creative Commons Attribution 3.0</a></li><li><a href="indexes.html">索引</a></li><li><a href="doc.changelog.html">更新日志</a></li></ul></li></ul></div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href=""></a></div>
 <div class="next" style="text-align: right; float: right;"><a href="copyright.html">版权信息</a></div>
 <div class="up"><a href=""></a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
